package com.huawei.it.qccdata.qcc;

import com.huawei.it.qccdata.utils.HttpClientUtil;

public class QccDataProcess {

    public static void main(String[] args) {
        String url = "https://www.qcc.com/api/search/searchOther?searchKey=华为技术有限公司";
        // String searchKey = "华为技术有限公司";
        // String jsonStr = "{\"searchKey\":\"{searchKey}\",\"pageIndex\":2,\"pageSize\":20,\"isTable\":\"true\"}";
        // jsonStr = jsonStr.replace("{searchKey}", searchKey);
        // String result = HttpClientUtil.post(url, jsonStr);

        String s = HttpClientUtil.get(url);
        System.out.println(s);
    }


}
